<!DOCTYPE html>
<!-- 是Thyme leaf 命名空间，通过引入该
 命名空间就可以在HTML 文件中使用Thymeleaf 标签语言，用关键字“ th ” 来标注。-->
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/header :: common_header(~{::title},~{})">
    <title>新增用户</title>
    <link th:href="@{/css/user/user-info.css}" rel="stylesheet">
</head>
<body>

<div id="container">

    <div style="padding: 100px 100px 10px; width: 50%">
        <h1>新增用户</h1><br>
        <form class="bs-example bs-example-form" role="form">
            <div class="input-group">
                <span class="input-group-addon">用户名</span>
                <input id="addName" type="text" class="form-control">
            </div>
            <br>
            <div class="input-group">
                <span class="input-group-addon">密  码</span>
                <input id="addPwd" type="text" class="form-control">
            </div>
            <br>
            <div class="input-group">
                <span class="input-group-addon">电  话</span>
                <input id="addPhone" type="text" class="form-control">
            </div>
            <br>
            <div class="input-group">
                <span class="input-group-addon">邮  箱</span>
                <input id="addEmail" type="text" class="form-control">
            </div>
            <div class="input-group">
                <br> <button class="btn btn-primary" type="submit" onclick="return addUserInfo()">添加</button>
            </div>
        </form>
    </div>
</div>
<script th:inline="javascript" th:src="@{/js/backstage/user.js}"></script>
</body>
</html>